let PREFIX_JIEMIN = process.env.VUE_APP_API_URL_DATACLOLLECTION_JIEMIN;
let PREFIX_XINBIAO = process.env.VUE_APP_API_URL_DATACLOLLECTION_XINBIAO;
let PREFIX_YUDA = process.env.VUE_APP_API_URL_DATACLOLLECTION_YUDA;
let dataCollection = {
  getTaskList: PREFIX_XINBIAO + "/collectionTask/searchTask", // 获取采集任务列表
  editTask: PREFIX_XINBIAO + "/collectionTask/addOrUpdateTask", // 创建和编辑任务
  deleteTask: PREFIX_XINBIAO + "/collectionTask/deleteTask", // 删除任务
  execTask: PREFIX_YUDA + "/collectionTask/excuteCollectTask", // 执行当前任务
  changeStatus: PREFIX_XINBIAO + "/collectionTask/updateTaskStatus", // 停用和启用状态切换
  execAllTask: "/api/execAllTask", // 立即执行
  getAllSourceList: PREFIX_JIEMIN + "/dropDown/getDropDownDataList", // 全部数据源列表和目标模型列表
  getAllTypeList: "/api/typeList", // 全部类型列表
  getSyncConstraintListAndSelectedList:
    PREFIX_JIEMIN + "/mappingTable/getMappingTables", // 获取同步对象待选列表和已选列表
  saveSelectedList: PREFIX_JIEMIN + "/mappingTable/editMappingTableList", // 保存同步已选列表
  getSourceList: PREFIX_JIEMIN + "/mappingTable/getMappingTableList", // 获取源对象列表
  getMapList: PREFIX_JIEMIN + "/mappingTable/getMapList", // 映射列表
  saveMapList: PREFIX_JIEMIN + "/mappingTable/editMappingTableField", // 保存映射-删除结果
  getDigitisingResults: PREFIX_JIEMIN + "/collectResult/taskResultList", // 采集结果列表
  stopTask: "/api/stopTask", // 任务终止
  getLogDetail: PREFIX_JIEMIN + "/collectResult/getResultDetailList", // 查看日志详情列表
  getResultDetail: PREFIX_JIEMIN + "/resultDetail/getResultDetail", // 查看日志想去
  getSubjectList: PREFIX_JIEMIN + "/theme/themeTree", // 主题列表
  getModelList: PREFIX_JIEMIN + "/dataMaintenance/dataMaintenanceList", // 数据列表
  getDataMaintenanceDetail: PREFIX_JIEMIN + "/dataMaintenance/getDataList", // 数据维护列表详情
  saveModelData: PREFIX_JIEMIN + "/dataMaintenance/editData", // 新增/编辑数据
  exportModelData: PREFIX_JIEMIN + "/dataMaintenance/exportData", // 导出
  exportTemplateOfModelData:
    PREFIX_JIEMIN + "/dataMaintenance/downloadTemplate", // 导出模板
  uploadModelData: PREFIX_JIEMIN + "/dataMaintenance/importData", // 导入
};

export default {
  ...dataCollection,
};
